;;; Joy -- implementation of the Joy programming language
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
;;;
;;; Joy is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or
;;; (at your option) any later version.
;;;
;;; Joy is distributed in the hope that it will be useful, but WITHOUT
;;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
;;; or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
;;; License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with Joy.  If not, see <http://www.gnu.org/licenses/>.

;;; Use this to build joy with GNU Guix:
;;;   `guix build -f ./guix.scm`

(use-modules (guix packages)
	     (guix licenses)
	     (guix git-download)
	     (guix build-system gnu)
	     (gnu packages)
	     (gnu packages autotools)
	     (gnu packages guile)
	     (gnu packages texinfo))

(package
  (name "joy")
  (version "0.0.0")	       ;TODO: Pull this from somewhere central
  (source
   (origin (method git-fetch)
	   (uri (git-reference
		 (url "git://gitlab.nahne.info/joy.git")
		 (commit "")))
	   (sha256
	    (base32
	     ""))))			;TODO: Compute this?
  (build-system gnu-build-system)
  (native-inputs
   `(("autoconf" ,autoconf)
     ("automake" ,automake)
     ("texinfo" ,texinfo)))
  (inputs
   `(("guile" ,guile)))
  (synopsis "Joy language in Guile")
  (description
   "Joy is an implementation of the Joy programming language in Guile
Scheme using its multi-language support.")
  (home-page "http://nahne.info/joy")
  (license gpl3+))
